<?php
/*
Template Name: GuestBook
*/
/**
 * @file Template-GuestBook.php 模板:留言板
 * @package Japan-Style
 * @subpackage 
 * @version $id: 0.1 UTF-8 2009-1-14 上午08:59:54 $
 * @author LD King (mifunny.info)
 * @copyright Copyright (c) 2007 - 2008 MiFunny China Inc. (http://mifunny.info)
 */
?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" dir="ltr" lang="zh-CN">
<head profile="http://gmpg.org/xfn/11">
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
<title>留言板 | 水草树</title>
<meta name="robots" content="index,follow" />
<link rel="stylesheet" href="http://mifunny.info/site/style.css" type="text/css" media="screen" />
<!--[if IE]><link rel="stylesheet" type="text/css" href="http://mifunny.info/site/ie.css" media="screen" /><![endif]-->
<link rel="shortcut icon" type="image/x-ico" href="http://mifunny.info/site/favicon.ico" />
<link rel="alternate" type="application/rss+xml" title="水草树 RSS Feed" href="http://feed.feedsky.com/mifunny" />
<?php wp_get_archives('type=monthly&format=link'); ?>
</head>
<body>
<div id="header"><h1><a href="<?php echo get_option('home'); ?>/" title="水草树 - 走走停停看看，恍然大悟。">水草树</a></h1><div id="description">走走停停看看，恍然大悟。</div>
<div id="menu">
	<ul id="nav">
		<li><a href="http://mifunny.info" title="水草树">首页</a></li>
		<li><a href="http://mifunny.info/friends" title="我的圈子 - Google Friend Connect">我的圈子</a></li>
		<li><a href="http://mifunny.info/guestbook" title="留言板">留言板</a></li>
		<li><a href="#">其他页面</a>
			<ul>
				<li><a href="http://mifunny.info/sharebooks" title="好书分享">好书分享</a></li>
				<li><a href="http://mifunny.info/blogroll" title="友情链接">友情链接</a></li>
				<li><a href="http://mifunny.info/mysitemap">网站地图</a></li>
				<li><a href="http://mifunny.info/about" title="关于水草树">关于</a></li>
			</ul>
		</li>
		<?php wp_list_categories('orderby=id&title_li=<a href="#">文章分类</a>'); ?>
	</ul>
</div><!-- #menu -->
</div><!-- #header -->
<div id="wrapper"><div id="content">
<?php if (have_posts()) : while (have_posts()) : the_post(); ?>
<div class="post" id="post-<?php the_ID(); ?>">
	<h2><a href="<?php the_permalink() ?>" rel="bookmark" title="Permanent Link to <?php the_title_attribute(); ?>"><?php the_title(); ?></a></h2>
	<?php the_content(); ?>
	<div class="post-info">Post by: <?php the_author() ?> &nbsp;|&nbsp; On Date: <?php the_time('F jS, Y') ?><?php edit_post_link('Edit', '&nbsp;|&nbsp;'); ?>
	</div>
</div>
<?php comments_template(); ?>
<?php endwhile; else: ?><p>Sorry, 这个URL没有文章存在！</p><?php endif; ?>
</div><!-- #content -->
<div id="sidebar">
<div class="block"><h4>博主何许</h4>
<img src="http://mifunny.info/site/images/author.gif" alt="Author" style="float: left; margin: 0 10px 0 -3px; padding: 0;" />
<p>网名：LD<br /> kldscs[at]gmail.com <br />&nbsp;&nbsp;碌碌无为的梦想青年，虽崇尚热血事业，然天性 食人猥琐、心胸狭窄、鬼神唾弃！</p>			
</div>
<div class="block"><h4>唐诗宋词</h4><?php show_chinese_poem() ?><br />&nbsp;
<p style="text-indent:2em;">如果你喜欢这款<span style="color:DodgerBlue;" >唐诗宋词</span>的插件，那么在" <a style="color:Blue;text-decoration: underline;" href="http://mifunny.info/wp-plugin-chinese-poem-84.html" rel="bookmark" title="Permanent Link to [原创]wordpress插件：唐诗宋词">这里</a> "能找到它。</p>
<p style="text-indent:2em;">也许你想自定义显示的内容，那么千万不要错过我的示例: <a style="color:Blue;text-decoration: underline;" href="http://mifunny.info/make-own-module-for-chinese-poem-96.html" rel="bookmark" title="Permanent Link to 自定义个性&#8221;唐诗宋词&#8221;模块">自定义个性&#8221;唐诗宋词&#8221;模块</a></p></div>
<div id="search"><form method="get" id="searchform" action="<?php bloginfo('url'); ?>/">
<p><input type="text" value="Search..." name="s" id="s" onfocus="if(this.value=='Search...')this.value=''" onblur="if(this.value=='')this.value='Search...'" />
<input type="submit" id="searchsubmit" class="bt" value="搜索" /></p></form>
</div>

<div class="block"><h4>友情链接</h4>
<ul><?php wp_list_bookmarks('title_li=&categorize=0&category=35'); ?></ul>
</div>

</div><!-- #sidebar -->
<?php include (TEMPLATEPATH . '/footer2.php'); ?>
